From 46a36c8e35d105c9d5b4c700280563713923a7b3 Mon Sep 17 00:00:00 2001 From: Kazuhiro Ito Date: Fri, 1 Jul 2011 13:03:55 +0200 Subject: [PATCH] * coding.c (Fencode_coding_string): Record the last coding system used, as the function doc string says. --- src/ChangeLog | 5 +++++ src/coding.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index e2530bf69c4..516f7612535 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-07-01 Kazuhiro Ito (tiny patch) + + * coding.c (Fencode_coding_string): Record the last coding system + used, as the function doc string says (bug#8738). + 2011-07-01 Jan Djärv * xsettings.c (store_monospaced_changed): Take new font as arg and diff --git a/src/coding.c b/src/coding.c index 9939774ea82..65c8a767c2b 100644 --- a/src/coding.c +++ b/src/coding.c @@ -9000,7 +9000,7 @@ not fully specified.) */) (Lisp_Object string, Lisp_Object coding_system, Lisp_Object nocopy, Lisp_Object buffer) { return code_convert_string (string, coding_system, buffer, - 1, ! NILP (nocopy), 1); + 1, ! NILP (nocopy), 0); } -- 2.30.2